package com.aaa.ssm.query;

import lombok.Data;

import java.io.Serializable;
@Data
public class BaseQuery implements Serializable {
        private Integer pageNo;
        private Integer pageCount;
        public Integer getIndex(){

            return (pageNo-1)*pageCount;
    }
}
